<?
require_once __DIR__."/starter.php";
$filename = $MAIN->site['template_path']."/header.php";
if(file_exists($filename)){
    require_once $filename;
}else{
    Logger::error("Header [".$MAIN->site['template']. "]template not found");
}

Jscore::Engage('less', "/kernel/libs/js/less/less.min.js");
Jscore::Engage('jquery', "/kernel/libs/js/jquery/jquery.min.js");
Jscore::Engage('jqueryui', "/kernel/libs/js/jqueryui/jquery-ui.js", "/kernel/libs/js/jqueryui/css/base/jquery-ui.css");
Jscore::Engage('jqtp', "/kernel/libs/js/jqueryui-touch-punch/jquery.ui.touch-punch.min.js");
Jscore::Engage('fancybox', "/kernel/libs/js/fancybox/jquery.fancybox.js", "/kernel/libs/js/fancybox/jquery.fancybox.css");